<?php
/**
 * @package    Delcampe Community
 *
 * @copyright Sebastien Delcampe
 * @license Please, don't read or copy
 * @author afernando
 *
 * @version 1.0
**/
class Default_Form_Translateedit extends Zend_Form
{
  public function init()
  {
    $this->setMethod('post');
    $this->addPrefixPath('Lion_Form_Element','Lion/Form/Element/','element');
    $this->addElement('formRTE', 'contents', array(
				'label'      => 'Text',
        'required'   => true,
        'cols'		   => 40,
        'rows'		   => 5,
        'validators' => array(
          array('validator' => 'StringLength', 'options' => array(0, 500))
        )
			)	
    );
    
    $this->addElement('submit', 'submit', array(
      'ignore'   => true,
      'label'    => 'Submit',
    ));    
    
  }
}
